package org.example.library.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.library.entity.UserInfo;
import org.springframework.stereotype.Service;

@Mapper
@Service
public interface UserMapper {
    @Select("select * from user_info where user_name=#{name} and delete_flag=0")
    UserInfo selectUserByName(String name);
}
